<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitonan//EN">
<html>

<head>
    <title>注册</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <script type="text/javascript">
        function changeImage(img) {
            img.src = img.src + '?' + new Date().getTime();//每次url不同就不拿缓存了
        }
    </script>
</head>
<body>
<form action="/ZY/rrServlet" method="post">
    用户名:<input type="text" name="username"><br>
    密码:<input type="password" name="password"><br>
    认证码:<input type="text" name="checkcode"><img src="/ZY/rrServlet" onclick="changeImage(this)" alt="换一张"
                                                 style="cursor:pointer"/>
    <button type="submit" value="注册" name="zhuce">注册</button>
</form>
</body>
</html>